home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
.net 2002 March
/
DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin
/
pc
/
PC Software
/
free_browsing
/
DavesQckSearchDbar3-14
/
dqsd.exe
/
searches
/
yweather.xml
< prev
next >
Wrap
Text File
|
2002-09-27
|
2KB
|
60 lines
<search function="yweather">
<name>Yahoo Weather</name>
<description>Search Yahoo Weather (by the Weather channel) for weather forecasts by zip code or city name
<div class="helpboxDescLabels">Examples:</div>
<table class="helpboxDescTable">
<tr>
<td>yweather 22204</td>
</tr>
<tr>
<td>Uses personalization variables if no arguments are present: yweather</td>
</tr>
</table>
</description>
<category>News</category>
<link>http://weather.yahoo.com/</link>
<contributor>Neel Doshi</contributor>
<form name="yweatherf"
action="http://search.weather.yahoo.com/search/weather2"
method="get">
<input type="hidden" name="p" value=""/>
</form>
<script><![CDATA[
function yweather(q)
{
if (q == "")
if (typeof user_zip != "undefined" && user_zip != "")
{
document.yweatherf.p.value=user_zip;
submitForm(yweatherf);
}
else if (typeof user_city != "undefined" && user_city != "")
{
document.yweatherf.p.value=user_city;
submitForm(yweatherf);
}
else
{
openSearchWindow("http://weather.yahoo.com/");
return false;
}
else if (q == "?")
{
nullArgs("yweather", q);
return false;
}
else
{
document.yweatherf.p.value=q;
submitForm(yweatherf);
}
}
]]></script>
<copyright>
Copyright (c) 2002 David Bau
Distributed under the terms of the
GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
</copyright>
</search>